<?php 
$this->widget('zii.widgets.grid.CGridView', array(
			'id'=>'clearing-agent-grid',
			'dataProvider'=>import::model()->search(),
			'columns'=>array(
				'eta:date:Arrival date',
				'cargo.do_ref.ref_no:text:Cargo marking',
				'cargo.shipper.cname:text:Shipper',
				'cargo.consignee.cname:text:Consignee',
				'import.shipper_ref:text:Shipper ref.',
				'cargo.amt:number:Shipper amount',
				'import.import_ref:text:Import permit/AWB',
				'cargo.export_info.out_permit:text:Outward permit'
			),
		)); 
?>